/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mzm.ui.admin;

import java.awt.BorderLayout;

import dnl.util.ui.OkDialog;

/**
 * 
 * @author daniel
 */
public class RecommendationManagementDialog extends OkDialog {

	private RecommendationsManagementPanel recommendationsManagementPanel = new RecommendationsManagementPanel();

	public RecommendationManagementDialog(java.awt.Frame parent, boolean modal) {
		super(parent, modal);
		this.add(recommendationsManagementPanel, BorderLayout.CENTER);
	}

	public void setAdminContext(AdminContext adminContext) {
		// this dialog has its own context
		recommendationsManagementPanel.setMzmAdminFacade(adminContext.getMzmAdminFacade());
	}

}
